<script setup>
  import { ref } from 'vue'
  const strColor = ref('green')
  
</script>

<template>
  <div>
    <!-- 绑定的是一个响应式数据 -->
    <h3 v-color="strColor">Hello directive </h3>
  </div>
</template>


<style scoped></style>